//
//  LNNavigationProtocol.h
//  LNBeeHive
//
//  Created by wwww on 2019/9/30.
//  Copyright © 2019 淘发现1iOS. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LNViewModel.h"
#import "BHServiceProtocol.h"
@protocol LNNavigationProtocol <NSObject,BHServiceProtocol>

// 导航到下一个页面
- (void)pushViewModel:(LNViewModel *)viewModel animated:(BOOL)animated;

//返回上一个页面
- (void)popViewModelAnimated:(BOOL)animated;

//返回到根控制器
- (void)popToRootViewModelAnimated:(BOOL)animated;

////模态弹窗
- (void)presentViewModel:(LNViewModel *)viewModel animated:(BOOL)animated;
//              completion:(VoidBlock)completion;

//////销毁模态窗口
- (void)dismissViewModelAnimated:(BOOL)animated;
//                      completion:(VoidBlock)completion;

//切换到根控制器
- (void)resetRootViewModel:(LNViewModel *)viewModel;

@end
